.contant {
    float: left;
    width: calc(100% - 220px);
}
#main1 {
    width: 45%;
    height: 500px;
    float: left;
    margin-left: 70px;
    margin-top: 50px;
}
#main2 {
    width: 40%;
    height: 800px;
    float:  left;
}